@mixin dingwei() {
  /* 定义flex容器 */
  display: flex;
  /*设置容器内部容器的排列方向*/
  flex-direction: row;
}

@mixin danhang1() {
  /* 单行...*/
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

@mixin shuanghang2() {
  /* 两行...*/
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  white-space: normal !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
page {
  background: #f6f6f6;
}

.header {
  box-shadow: 0px 0px 10rpx 0px rgba(0, 0, 0, 0.14);
  margin-bottom: 20rpx;
}

.looking-car {
  .scroll {
    height: calc(100vh - 220rpx);
  }
}

/*聊天*/
.im-box {
  height: calc(100vh - 220rpx);
  margin-top: 24rpx;
  background-color: #f6f6f6;

  .bg-fff {
    background-color: #fff;
  }

  .bg-f6 {
    background-color: #f6f6f6;
  }
  .item {
    display: flex;
    align-items: center;
    height: 160rpx;

    .icon-left {
      width: 170rpx;
      text-align: center;

      .img {
        height: 100rpx;
        width: 100rpx;
      }
    }

    .title-wrap {
      width: calc(100vw - 170rpx);
      padding-right: 30rpx;
      font-weight: 500;

      .title {
        display: flex;
        justify-content: space-between;

        .xiaoxiss {
          width: 480rpx;
          @include danhang1;
          color: #999;
          font-size: 24rpx;
          font-weight: 500;
        }

        .title-left {
          font-size: 30rpx;
          color: #333;
        }

        .title-right {
          font-size: 24rpx;
          color: #b9b9b9;
        }

        .sub-left {
          font-size: 24rpx;
          color: #999;
        }

        .sub-right {
          background-color: #eb5c02;
          color: #fff;
          height: 34rpx;
          min-width: 34rpx;
          padding-left: 10rpx;
          padding-right: 10rpx;
          text-align: center;
          line-height: 34rpx;
          font-size: 24rpx;
          border-radius: 17rpx;
        }
      }
    }
  }
}

.end {
  padding: 10rpx;
  text-align: center;
  font-size: 28rpx;
  font-weight: 500;
  color: #999999;
}
